<?php //logout.php
include_once 'header.php';

echo "<h3>Log out</h3>";

if(isset($_SESSION['user']))
{
	echo "
	You have been logged out. Please
	<a href='index.php'>Click here</a> to refresh the screen.";
	destroySession();
}
else echo "You are not loged in";
?>